/*导航栏*/
#container {
    max-width: 1226px;
    height: 44px;
    margin: 0 auto;
    position: relative;
}

#container ul li {
    float: left;
    padding: 0 20px;
    font-size: 14px!important;
}

#container ul li a {
    color: #fff;
}
#container .left li:hover {
    background-color: #8bdb3c;
}
#container .left{
   float: left;
   margin-left: -30px;
}
#container .right {
    float: right;
    display: flex;
}

#container .right a {
    color: #fff;
    padding: 0 10px;
}
#container .right a:hover{
    background-color:#8bdb3c;
}
#container .right .shoppingCar {
    height: 44px;
    width: 60px;
}
#container .right .shoppingCar {
    background-image: url("../images/car.png");
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: 50%;
}

#container.right .shoppingCar:hover {
    background-image: url("../images/car2.png");
    background-size: 45%;
    background-repeat: no-repeat;
    border-bottom: none;
}
#container .right .carDropDown {
    height: 110px;
    line-height: 110px;
    width: 240px;
    background-color: #fff;
    box-shadow: 0 2px 3px #999;
    font-size: 12px;
    text-align: center;
    position: absolute;
    top: 44px;
    right: 0px;
    display: none;
}
/*主页*/
#nav,
#nav_reg,
#nav_login,
#backState,
#supply,
#purchase,
#market,
#post,
#userInfo{
    height: 44px;
    width: 100%;
    font-size: 16px!important;
    line-height: 44px;
    background-color: #5ba729;
    position: fixed;
    z-index: 999;
}

#nav h3 {
    text-align: center;
    color: #fff;
}
#purchase div,
#backState div,
#nav_reg div,
#nav_login div,
#supply div,
#market div,
#post div,
#userInfo div{
    height:44px;
    max-width: 1246px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 14px!important;
}
#userInfo div a:nth-of-type(1),
#post div a:nth-of-type(1),
#market div a:nth-of-type(1),
#purchase div a:nth-of-type(1),
#supply div a:nth-of-type(1),
#backState div a:nth-of-type(1),
#nav_reg div a:nth-of-type(1),
#nav_login div a:nth-of-type(1){
    margin-left:10px;
    float: left;
    color: #fff;
}

#nav_reg  div  a:nth-of-type(2),
#nav_login div a:nth-of-type(2){
    margin-right: 10px;
    float: right;
    color: #fff;
}
/*副导航*/
.subHeader {
    height: 100px;
    max-width: 1226px;
    margin: 0 auto;
}

.subHeader .logo {
    height: 30px;
    margin-top: 35px;
}

.subHeader .health {
    height: 50px;
    margin-top: 25px;
    margin-left: 20px;
}

#search {
    height: 100px;
    width: 280px;
    float: right;
    position: relative;
    z-index: auto;
}

#search .search {
    height: 40px;
    width: 240px;
    position: absolute;
    top: 30px;
    text-indent: 001em;
}

#search .searchLogo {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: absolute;
    top: 30px;
    border: solid 1px #aaa;
    border-left: none;
    right: 0;
}
#search .searchLogo {
    background-image: url("../images/searchgray.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: 50%;
}

#search .searchLogo:hover {
    background-image: url("../images/searchwhite.png");
    background-size: 45%;
    background-color: #5ba729;
    border: solid 0.02rem #5ba729;
    border-left: none;
}

/*轮播图*/
#carousel {
    height: 400px;
    width: 1226px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#carousel .carousel li {
    display: inline-block;
    height: 400px;
    width: 960px;
    position: absolute;
    top: 0;
    right: 0;
}

#carousel .carousel li img {
    height: 400px;
    width: 960px;
}

#carousel .btn-left,
#carousel .btn-right {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    width: 40px;
    position: absolute;
    color: #ddd;
}

#carousel .btn-left:hover,
#carousel .btn-right:hover {
    background-color: #000;
    opacity: 0.5;
}

#carousel .btn-left {
    top: calc(50% - 30px);
    left: 266px;
    text-align: center;
    font-size: 30px;
    z-index: 10;
    cursor: pointer;
}

#carousel .btn-right {
    top: calc(50% - 30px);
    right: 0;
    text-align: center;
    font-size: 30px;
    z-index: 10;
    cursor: pointer;
}

/*!*轮播图小圆点*!*/
#point {
    position: absolute;
    bottom: 15px;
    right: 380px;
    z-index: 9;
}

#point li {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 10px;
    border-radius: 50%;
    border: solid 1px #f0ad4e;
    background-color: #ddd;
}

/*侧边导航*/
#subNav {
    height: 400px;
    width: 266px;
    background-color: #eee;
}

#subNav .sidea:first-child {
    margin-top: 40px;
}

#subNav .sidea {
    display: inline-block;
    float: left;
    height: 45px;
    line-height: 45px;
    width: 266px;
    color: #333;
    margin-left: -40px;
    text-align: center;
}

#subNav .sidea:hover {
    background-color: #5ba729;
    color: #fff;
}

#subNav .sidea span:nth-child(odd) {
    margin-left: 15px;
    float: left;
}

#subNav .sidea span:nth-child(even) {
    float: right;
    margin-right: 15px;
}

/*侧边栏*/
#sideBar {
    height: 400px;
    width: 600px;
    position: absolute;
    left: 266px;
    top: 0;
}

#sideBar .sideList {
    height: 400px;
    width: 600px;
    background-color: #ddd;
    display: none;
}

#sideBar .sideList .classify {
    margin-right: 20px;
    display: flex;
    margin-bottom: 20px;
}

#sideBar .sideList .classify h4 {
    color: #5ba729;
    height: 40px;
    line-height: 40px;
    width: 150px;
    text-align: center;
}

#sideBar .sideList .classify .details {
    margin: 5px 0;
}

#sideBar .sideList .classify .details p {
    padding-top: 5px;
    margin: 0!important;
}

#sideBar .sideList .classify .details p span {
    padding: 5px;
    font-size: 14px;
    color: #666;
}

/*最新行情*/
#newMarket {
    height: 270px;
    width: 1226px;
    margin: 20px auto;
}

.title {
    font-size: 20px;
    color: orange;
    font-weight: bold;
    float: left;
}

.edit img {
    height: 20px;
    margin: 5px 20px;
}
#newMarket .market table{
    border: none;
}

#newMarket .market table  tr {
    border-bottom: dotted 1px orange;
}

#newMarket .market table  tr td {
    border: none;
}
#newMarket .market table  tr td:nth-child(4){
    color: orange;
}
#newMarket .market table  tr:nth-child(2),
#newMarket .market table  tr:nth-child(3),
#newMarket .market table  tr:nth-child(4),
#newMarket .market table  tr:nth-child(5){
    font-size: 14px!important;
}
#newMarket .market table  tr td:nth-child(5){
    color: #8bdb3c;
}
#newMarket .market table  tr:nth-child(1){
    background-color: #5ba729;
    border-bottom: none;
    color: #fff!important;
}
#newMarket .market table  tr:nth-child(1) td:nth-child(5),
#newMarket .market table  tr:nth-child(1) td:nth-child(4){
   color: #fff!important;
}

#newMarket .market{
    height: 200px;
    width: 1226px;
    margin-top: 10px;
    display: flex;
}
#newMarket .market .marketDetails{
    height: 200px;
    width: 603px;
    display: flex;
    flex-direction:column;
}
#newMarket .market .marketDetails:first-child{
    margin-right: 20px;
}

/*特色产业带*/
#treesAndFlowers,
#grainAndOil,
#industrialBelt,
#waterProduct,
#machinery {
    height: 340px;
    width: 1226px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

#industrialBelt .left {
    margin-right: 6px;
}
#industrialBelt button{
    display: inline-block;
    height: 30px;
    width: 30px;
    font-size: 20px;
    border: solid 1px #999a9b;
    float: right;
    color: #aaa;
}

#industrialBelt button:hover{
    color: #8bdb3c;
    border: solid 1px #5ba729;
}
#city,#water,#tree,#machine,#oil {
    height: 300px;
    width: 2452px;
    margin-top: 10px;
    position: absolute;
    left: 0px;
}
#oil .oil,
#tree .tree,
#water .water,
#city .city,
#machine .machine{
    display: inline-block;
    height: 300px;
    width: 294px;
    background-color: #f9f9f9;
    float: left;
    margin: 0 6px;
    text-align: center;
}
#oil .oil:hover,
#tree .tree:hover,
#water .water:hover,
#machine .machine:hover,
#water .water:hover{
    /*box-shadow: 1px 1px 1px #999;*/
    cursor: pointer;
    border: solid 1px #5ba729;
}
#oil .oil h4,
#machine .machine h4,
#tree .tree h4,
#water .water h4,
#city .city h4 {
    margin-top: 10px;
    color: #8bdb3c;
}
#oil .oil img,
#machine .machine img,
#tree .tree img,
#water .water img,
#city .city img {
    height: 150px;
    width: 150px;
}
#city .city img{
margin: 10px 0;
}
#city .city:nth-child(1),
#city .city:nth-child(5) {
    border-top: solid 2px #83c54e;
}
#city .city:nth-child(1):hover,
#city .city:nth-child(5):hover{
    border: solid 1px #83c54e;
}

#city .city:nth-child(2):hover,
#city .city:nth-child(6):hover {
    border: solid 1px #2097f3;
}
#city .city:nth-child(2),
#city .city:nth-child(6) {
    border-top: solid 2px #2097f3;
}

#city .city:nth-child(3),
#city .city:nth-child(7) {
    border-top: solid 2px #ffac13;
}
#city .city:nth-child(3):hover,
#city .city:nth-child(7):hover {
   border: solid 1px #ffac13;
}
#city .city:nth-child(4),
#city .city:nth-child(8) {
    border-top: solid 2px #00c1a5;
}
#city .city:nth-child(4):hover,
#city .city:nth-child(8):hover {
    border: solid 1px #00c1a5;
}
.Goods {
    height: 80px;
    width: 294px;
    margin: 20px auto;
    vertical-align: center;
}
#city .city .Goods{
    height: 100px;
    width: 294px;
    margin: 0 auto;
}
.Goods a {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    width: 80px;
    border: solid 001px #dddddd;
    font-size: 13px;
    text-align: center;
    margin: 5px;
}

.Goods a:hover {
    color: #fff;
    background-color: #ffac13;
}
/*注册*/
#form-login,
#form-reg{
    height: 600px;
    max-width: 1226px;
    margin: 0 auto;
    background: url("../images/map.png");
    background-size: 100%;
    position: relative;
}
#form-login .form-login,
#form-reg .form_reg{
    /*height: 300px;*/
    width: 500px;
    position: absolute;
    top: 20px;
    right: 80px;
    background-color: #E8E5B3;
    border-radius: 8px;
    /*opacity: 0.8;*/
}
#form-login .form-login form,
#form-reg .form_reg form{
    /*height: 300px;*/
    width: 400px;
    margin: 20px 80px 0 20px;

}
#form-login input,
#form-reg input{
    width: 400px;
    height: 30px;
    margin: 10px 0 10px 0;
    border: solid 1px #83c54e;
    border-radius: 5px;
    text-indent: 5px;
}
#form-login .btn-login,
#form-reg .btn-reg{
    margin-bottom: 20px;
}
/*回到顶部图片按钮*/
.goTop {
    height: 50px;
    z-index: 100;
    position:fixed;
    display:none;
    bottom:60px;
    right:10px;
}
/*用户头像*/
.userInfo img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    margin-top: 7px;
}
#upload{
    width: 200px;
    margin: 30px auto;
    height: 300px;
    border: dotted 1px #5ba729;
    position: relative;
    border-radius: 5px;
}
#upload img{
    width:50px;
    height:50px;
    border-radius: 50%;
    position: absolute;
    left: calc(50% - 25px);
    top: 60px;
}
#upload img:hover{
    cursor: pointer;
}
#upload input{
    display: none;
}
#upload button{
    position: absolute;
    left:calc(50% - 41px);
    top: 120px;
}
#cuke{
    max-width: 1226px;
    height: 330px;
    margin:20px auto;
    display: flex;
    box-sizing: border-box;
}
#cuke .cukeInfo{
    height: 330px;
    width: 294px;
    margin: 0 6px;
    text-align: center;
    background-color: #f9f9f9;
}
#cuke .cukeInfo img{
    height: 150px;
    width: 254px;
    margin-top: 10px;
}
#cuke .cukeInfo p:nth-child(1){
    margin-top: 30px;
}
#cuke .cukeInfo:hover{
    border: solid 1px orange;
}
#cuke .cukeInfo p{
    margin: 10px 20px;
    text-align: left;
}
#cuke .cukeInfo .price{
    color: orange;
    text-align: left;
}
#cuke .cukeInfo .addr span:nth-child(2),
#cuke .cukeInfo .issuer span:nth-child(2){
 float: right;
}
/*搜索页面*/
#searchInfo{
    max-width: 1226px;
    margin: 0 auto;
    background-color: #f9f9f9;
}
#searchInfo .searchInfo{
    /*height: 150px;*/
    width: 1226px;
    border-bottom: dotted 1px #5ba729;
    background-color: #f9f9f9;
}
#searchInfo .searchInfo p{
    margin:10px; 
}
#searchInfo .searchInfo .price{
    color: red;
}
/*搜索内容为空时*/
.empty {
    display: none;
    height: 800px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    position: relative;
}

.empty .emptyImg {
    position: absolute;
    left: 18%;
    top: 90px;
}

.empty .emptyText {
    position: absolute;
    font-size: 16px;
    left: 40%;
    top: 100px;
}

/*尾部*/
footer{
    height: 44px;
    line-height: 44px;
    width: 100%;
    background-color: #dddddd;
    z-index: 1000;
    text-align: center;
    color: #666;
    position: fixed;
    bottom:0px;
}





















